//
//  ProfileCell.m
//  Qzone
//
//  Created by zhangxy on 2018/6/5.
//  Copyright © 2018年 zhang. All rights reserved.
//

#import "ProfileCell.h"

@implementation ProfileCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    [_labTitle attributeFont:FontFiftent textColor:UIColorFromRGB(TextSizeOneColor)];
    _labLine.backgroundColor = UIColorFromRGB(BgLineColor);
}

-(void)dataToView:(NSDictionary *)item{
    [_imgIcon setImage:[UIImage imageNamed:item[@"icon"]]];
    [_labTitle setText:convertToString(item[@"title"])];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
